<?php
namespace app\crontab\command;

use app\applet\model\Test;
use think\console\Command;
use think\console\Input;
use think\console\Output;

class Task extends Command {
    protected function configure()
    {
        $this->setName('Task')
            ->setDescription('每分钟输出1个1');
    }

    protected function execute(Input $input, Output $output)
    {
        $model = new Test();
        $model->test1();
    }
}